//
//  imageLabel.h
//  Products_B
//
//  Created by lanou on 16/5/29.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^TapBlock)(int index);

@interface imageLabel : UIView
@property (nonatomic, copy) TapBlock tapBlock;

- (instancetype)initWithFrame:(CGRect)frame image:(NSString *)imageUrl text:(NSString *)textString1 text2:(NSString *)textString2 index:(int)index tapAction:(TapBlock)tapBlock;

- (void)setImageLabelText:(NSString *)text1 labelText:(NSString *)text2;

-(void)setImageLabelView:(UIImage *)image;

-(void)setImageLabelWithUrling:(NSString *)imageUrl;

@end
